package com.ruoyi.cderp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点任务明细对象 tbl_take_stock_plan_detail
 * 
 * @author ruoyi
 * @date 2025-05-09
 */
public class TblTakeStockPlanDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 盘点任务ID */
    @Excel(name = "盘点任务ID")
    private String planId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String productId;

    /** 初始库存数量 */
    @Excel(name = "初始库存数量")
    private Long stockNum;

    /** 盘点数量 */
    @Excel(name = "盘点数量")
    private Long oriTakeNum;

    /** 修改后的盘点数量 */
    @Excel(name = "修改后的盘点数量")
    private Long takeNum;

    /** 出项数量 */
    @Excel(name = "出项数量")
    private Long totalOutNum;

    /** 入项数量 */
    @Excel(name = "入项数量")
    private Long totalInNum;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNo;

    private BaseDataProduct baseDataProduct;

    public BaseDataProduct getBaseDataProduct() {
        return baseDataProduct;
    }

    public void setBaseDataProduct(BaseDataProduct baseDataProduct) {
        this.baseDataProduct = baseDataProduct;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPlanId(String planId) 
    {
        this.planId = planId;
    }

    public String getPlanId() 
    {
        return planId;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setStockNum(Long stockNum) 
    {
        this.stockNum = stockNum;
    }

    public Long getStockNum() 
    {
        return stockNum;
    }
    public void setOriTakeNum(Long oriTakeNum) 
    {
        this.oriTakeNum = oriTakeNum;
    }

    public Long getOriTakeNum() 
    {
        return oriTakeNum;
    }
    public void setTakeNum(Long takeNum) 
    {
        this.takeNum = takeNum;
    }

    public Long getTakeNum() 
    {
        return takeNum;
    }
    public void setTotalOutNum(Long totalOutNum) 
    {
        this.totalOutNum = totalOutNum;
    }

    public Long getTotalOutNum() 
    {
        return totalOutNum;
    }
    public void setTotalInNum(Long totalInNum) 
    {
        this.totalInNum = totalInNum;
    }

    public Long getTotalInNum() 
    {
        return totalInNum;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setOrderNo(Long orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() 
    {
        return orderNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("planId", getPlanId())
            .append("productId", getProductId())
            .append("stockNum", getStockNum())
            .append("oriTakeNum", getOriTakeNum())
            .append("takeNum", getTakeNum())
            .append("totalOutNum", getTotalOutNum())
            .append("totalInNum", getTotalInNum())
            .append("description", getDescription())
            .append("orderNo", getOrderNo())
            .toString();
    }
}
